package com.ruitu.mall_98_1.search;

import android.content.Context;
import android.widget.TextView;

import com.beanu.arad.base.my_base.base_list.ListBaseAdapter;
import com.beanu.arad.base.my_base.base_list.SuperViewHolder;
import com.ruitu.mall_98_1.R;
import com.ruitu.router_module.bean.app.HotWord;

//热搜关键字列表
public class HotListAdapter extends ListBaseAdapter<HotWord> {
    public HotListAdapter(Context context) {
        super(context);
    }

    @Override
    public int getLayoutId() {
        return R.layout.pro_item_hot_list;
    }

    @Override
    public void onBindItemHolder(SuperViewHolder holder, int position) {
        TextView tv_name = holder.getView(R.id.tv_name);
        HotWord word = mDataList.get(position);
        tv_name.setText(word.getKey());
    }
}
